/*
 * global
 */
html { font-size:100.01%; }

body {
	font-size: 75%;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  	margin:5px 0px 0px 0px;
	padding-left:30px;
	padding-right:30px;
	padding-bottom:50px;
	background-color:#222222;
}

h1,h2,h3,h4,h5,h6 { font-weight: normal; }
h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
h2 { font-size: 2em; margin-bottom: 0.75em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
h6 { font-size: 1em; font-weight: bold; }

input, textarea {
	border:0;
	margin:0;
	padding:0;
	font:13px Arial, Helvetica, sans-serif;
}
textarea {
	word-wrap:break-word;
}
a:link {
	/*color:#DA6351;*/
	text-decoration:none;
	color:#FF777A;
}
a:hover {
	color:#FFAAAE;
}
a:visited {
	color:#FF777A;
	text-decoration:none;
}
.navigation ul{
	margin:10px 45px 10px 45px;
	padding:10px 15px 0px 15px;
	border-bottom:2px solid #666;
	color:#FFFFFF;
}
.navigation li {
	list-style:none;
	margin-left:10px;
	display:inline-block;
}
.navigation a {
	display:block;
	color:#666;
	padding:2px 8px 0px 8px;
	border:1px solid #333;
	border-radius:5px 5px 0px 0px;
}
.navigation a:hover {
	color:#CCC;
	background-color:#666;
	border:1px solid #666;
}
.navigation a.selected {
	color:#CCC;
	background-color:#666;
	border:1px solid #666;
	font-weight: bold;
}
noscript div {
	width: 22em; 
	position: absolute; 
	left: 50%; 
	margin-left: -11em; 
	color: red; 
	background-color: white; 
	border: 1px solid red; 
	padding: 4px; 
	font-family: sans-serif;
}

/*
 * sidebar
 */
#sidebar {
	position:relative;
	float:left;
	width:230px;
}

/*
 * search
 */
#search {
	position:relative;
}
#search .ss-submit {
	position:absolute;
	padding:0 0.1em 0 0.1em;
	width:1.4em;
	height:1.2em;
	top:0.5em;
	right:0.5em;
	cursor: pointer;
}
#search .ss-reset {
	position:absolute;
	padding:0 0.1em 0 0.1em;
	width:1.4em;
	height:1.2em;
	top:0.5em;
	right:2.5em;
	cursor: pointer;
}
#search_form .ui-accordion h3 {
	line-height: .5em;
}
#search_form .ui-accordion .ui-widget-content {
	padding: .5em;
}
#search_form input {
	background-color:#666666;
	border:1px solid #FFFFFF;
	color:#FFFFFF;
}
#search_form select {
	background-color:#666666;
	border:1px solid #FFFFFF;
	color:#FFFFFF;
	text-align:center;
	font-size:0.9em;
}
#search_form textarea {
	background-color:#666666;
	border:1px solid #FFFFFF;
	color:#FFFFFF;
	resize: none;
	overflow:auto;
}
#search_form input:focus, #search_form select:focus, #search_form textarea:focus {
	border:1px solid #DA6351;
}
#search_form p {
	margin-top:0.3em;
	margin-bottom:0;
}
#search_form h4 {
	margin-top:0;
	margin-bottom:0;
	font-style:italic;
}
#search .ss-title {
	cursor: pointer;
	position:relative;
	/*display:inline-table;*/
}
#search .ss-title .ui-icon {
	position: absolute;
	left: 0.6em;
	top:0.5em;
}
#search .ss-title a {
	padding-left:1.2em;
	color:#CCCCCC;
	font-size:1.5em;
}

/*
 * content
 */
#content {
	margin-left:230px;
	position:relative;
}
#content-inner {
	position:absolute;
	top:0;
	left:16px;
	overflow:visible;
	text-align:center;
	width:100%;
}

/*
 * sidebar-slip
 */
#sidebar-slip {
	margin-left:3px;
	width:8px;
	position:relative;
}
#sidebar-slip .slip-button {
	width:6px;
	height:45px;
	position:absolute;
	cursor:pointer;
	visibility:hidden;
}
#sidebar-slip .slip-button span {
	position:absolute;
	left:-5px;
	top:13px;
}

/*
 * posts
 */
#posts {
	overflow:visible;
	color:#CCCCCC;
	position:relative;
	z-index:1;
}
#posts .init {
	display:block;
	width:115px;
	height:77px;
}
#posts ul{
	list-style-type:none;
	padding:0;
	margin:0;
}
#posts li.post-img {
	float:left;
	margin:0px 10px;
	margin-bottom:20px;
	/*height:150px;*/
}
#posts .post-img img, #posts .post-img div {
	cursor:pointer;
	border:1px outset #FFAAAE;
	width:auto;
	height:auto;
}
.shadow-white {
	-moz-box-shadow : 0px 0px 25px rgba(250, 250, 250, 0.85);
	-webkit-box-shadow : 0px 0px 25px #FFFFFF;
	box-shadow : 0px 0px 25px #FFFFFF;
	/* For IE 8 ?*/
	/*-ms-filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#FFFFFF');*/
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#FFFFFF');
}
.shadow-grey {
	-moz-box-shadow : 0px 0px 30px rgba(0, 0, 0, 0.85);
	-webkit-box-shadow : 0px 0px 30px #000000;
	box-shadow : 0px 0px 30px #000000;
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color='#000000');
}

/*
 * preview
 */
.preview {
	background-color:#EEEEEE;
	font-size:small;
	color:#000000;
	border:1px outset #FFAAEA;
	position:fixed;
	/*border-radius:10px 10px 10px 10px;*/
}
.preview p {
	color: black;
	margin:6px;
	margin-bottom: 12px;
	text-align:left;
	word-wrap: break-word;
}
.preview img {
	cursor:pointer;
	text-align:center;
}

/*
 * pagination
 */
#pagination {
	color:#FFFFFF;
	padding-top:20px;
	clear:left;
	position:relative;
	z-index:0;
	/*
	left:50%;
	margin-left:-25%;
	display:inline-block;*/
}
#pagination * {
	padding:1px 6px 1px 6px;
}
#pagination a {
	border:1px solid #CCCCCC;
}
#pagination a:hover {
	background-color:#3C3CDC;
}
#pagination .disabled {
	border:0px;
	color:#CCC;
	font-weight:bold;
}
#pagination .current {
	border:0px;
}

/*
 * image-viewer
 */
#image-viewer {
	width:100%;
	height:100%;
	padding:0 3px;
	position:relative;
}
.iv-info {
	display:inline-block;
	margin-bottom:5px;
	background-color:#666666;
	width:100%;
}
.iv-info ul {
	list-style-type:none;
	padding:0 3px;
	margin:0;
}
.iv-info li {
	float:left;
	margin-right:1em;
	color:#FFFFFF;
}
.iv-info li span {
	font-weight:bold;
}
.iv-content {
	overflow:hidden;
	display:inline-block;
	width:100%;
	height:auto;
	text-align:center;
}
.iv-content img {
	position:relative;
}
.iv-dragready{
	cursor:url("/images/iv-dragready.cur"), default;
}
.iv-dragstart {
	cursor:url("/images/iv-dragstart.cur"), move;
}
.iv-zoomin{
	cursor:url("/images/iv-zoomin.cur"), pointer;
}
.iv-zoomout{
	cursor:url("/images/iv-zoomout.cur"), pointer;
}
#iv-navigate-right {
	cursor:pointer;
	width:44px;
	height:44px;
	position:absolute;
	top:0;
}
.iv-navigate-right-show {
	background:url("/images/iv-navigate-right.png") no-repeat;
}
#iv-navigate-left {
	cursor:pointer;
	width:44px;
	height:44px;
	position:absolute;
	top:0;
}
.iv-navigate-left-show {
	background:url("/images/iv-navigate-left.png") no-repeat;
}
.iv-navigate-placeholder {
	background:url("/images/placeholder.png") no-repeat transparent;
}

/*
 * notice
 */
#notice {
	padding:2px;
	border:2px solid #CCCCCC;
	width:230px;
	height:auto;
	position:fixed;
	display:none;
	z-index:2000;
}
#notice a {
	float:left;
}
#notice div {
	color:#FFFFFF;
	margin:16px 3px;
	overflow:auto;
	text-align:center;
}


.loading {
	background:url("/images/loading.gif") no-repeat scroll center;
}
.not-found {
	overflow:auto;
	color:#CCCCCC;
}


/*
 * Pools
 */
#posts .pools-list tr:hover {
	background:#67100F;
}
#posts .pools-list thead tr:hover {
	background:none;
}
.pools-list tr.even {
	color:white;
	background:#444;
}
.pools-list tr.odd {
	color:white;
	background:#333;
}
.pools-list td {
	padding:1px 4px;
}
.pools-list th {
	text-align:left;
}
.pools-list td {
	text-align:left;
}
.pool-header {
	position:relative;
	text-align:left;
	margin-bottom:1em;
}
.pool-thumb {
	position:absolute;
}

div, h1, h2, h3, h4, h5, h6, p, ul, li, dd, dt {
  font-family: verdana, sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: Tahoma;
}

ul {
  margin: 0 0 1em 0em;
}

ul#tag-sidebar {
  width: 200px;
  margin-left: 1em;
  margin-right: 1em;
  float: left;
  word-wrap: break-word;
  overflow:hidden;
}
ul#tag-sidebar li {

  list-style-type: none;
  margin: 0;
}
ul#tag-sidebar a {
  display: block;
}
ul#tag-sidebar.hide {
	display: none;
}

.tag-type-general > a, #history .tag-type-general, .color-tag-types .tag-type-general {
  font-weight:normal;
}

.tag-type-general > a:hover {
  padding: 5px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-general > a:hover span.tag-type {
  display: inline;
  font-weight:normal;
}

.tag-type-artist > a, #history .tag-type-artist, .color-tag-types .tag-type-artist {
  font-weight:normal;
  color: #cccc00;
}

.tag-type-artist > a:hover {
  padding: 5px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-artist > a:hover span.tag-type {
  display: inline;
}

.tag-type-faults > a, #history .tag-type-faults, .color-tag-types .tag-type-faults {
  font-weight:normal;
  color: #FF2020;
}

.tag-type-faults > a:hover {
  padding: 5px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-faults > a:hover span.tag-type {
  display: inline;
}

.tag-type-circle > a, #history .tag-type-circle, .color-tag-types .tag-type-circle {
  font-weight:normal;
  color: #0bb;
}

.tag-type-circle > a:hover {
  padding: 5px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-circle > a:hover span.tag-type {
  display: inline;
}

.tag-type-character > a, #history .tag-type-character, .color-tag-types .tag-type-character {
  font-weight:normal;
  color: #0A0;
}

.tag-type-character > a:hover {
  padding: 5px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-character > a:hover span.tag-type {
  display: inline;
}

.tag-type-copyright > a, #history .tag-type-copyright, .color-tag-types .tag-type-copyright {
  font-weight:normal;
  color: #D0D;
}

.tag-type-copyright > a:hover {
  padding: 5px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-copyright > a:hover span.tag-type {
  display: inline;
}

.tag-type-general-preview > a, #history .tag-type-general-preview, .color-tag-types .tag-type-general-preview {
  font-weight:normal;
}

.tag-type-general-preview > a:hover {
  padding: 1px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-general-preview > a:hover span.tag-type {
  display: inline;
  font-weight:normal;
}

.tag-type-artist-preview > a, #history .tag-type-artist-preview, .color-tag-types .tag-type-artist-preview {
  font-weight:normal;
  color: #cccc00;
}

.tag-type-artist-preview > a:hover {
  padding: 1px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-artist-preview > a:hover span.tag-type {
  display: inline;
}

.tag-type-faults-preview > a, #history .tag-type-faults-preview, .color-tag-types .tag-type-faults-preview {
  font-weight:normal;
  color: #FF2020;
}

.tag-type-faults-preview > a:hover {
  padding: 1px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-faults-preview > a:hover span.tag-type {
  display: inline;
}

.tag-type-circle-preview > a, #history .tag-type-circle-preview, .color-tag-types .tag-type-circle-preview {
  font-weight:normal;
  color: #0bb;
}

.tag-type-circle-preview > a:hover {
  padding: 1px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-circle-preview > a:hover span.tag-type {
  display: inline;
}

.tag-type-character-preview > a, #history .tag-type-character-preview, .color-tag-types .tag-type-character-preview {
  font-weight:normal;
  color: #0A0;
}

.tag-type-character-preview > a:hover {
  padding: 1px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-character-preview > a:hover span.tag-type {
  display: inline;
}

.tag-type-copyright-preview > a, #history .tag-type-copyright-preview, .color-tag-types .tag-type-copyright-preview {
  font-weight:normal;
  color: #D0D;
}

.tag-type-copyright-preview > a:hover {
  padding: 1px;
  z-index: 100;
  background: #FFFFAA;
  text-align: left;
  text-decoration: none;
  color: #33CFFF;
}

.tag-type-copyright-preview > a:hover span.tag-type {
  display: inline;
}

span.tag-type-general {
  color: #FF777A;
}
span.tag-type-artist {
  color: #CC0;
}
span.tag-type-faults {
  color: #FF2020;
}
span.tag-type-circle {
  color: #0BB;
}
span.tag-type-character {
  color: #0A0;
}
span.tag-type-copyright {
  color: #D0D;
}

span.post-count {
  font-weight:normal !important;
  font-size: 80%;
  color: #AAA;
  margin: 0px 5px 0px 5px;
}

span.tag-type {
  font-weight:normal !important;
  display: none;
  font-size: 80%;
  color: #AAA;
  margin-left: 2px;
  margin-right: 4px;
}

span.stats-description {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: #CCC;
  margin-right: 5px;
}

span.stats-description-preview {
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
  color: #666;
  margin-right: 5px;
}

#tag-filter {
	margin: 0px 0px 4px 8px;
	width: 200px;
	background-color: #666;
}
#tag-filter.hide {
	display: none;
}
#tag-filter li {
	margin-left: 4px;
	list-style: none;
	display: inline-block;
}
#tag-filter a {
	display: block;
	padding: 4px 8px 4px 8px;
	height: 20px;
	max-width: 150px;
	margin: 2px;
	color: #FFF;
}
#tag-filter a:hover {
	background: #0D0D0D;
}
#tag-filter a.selected {
	width: 150px;
	background: snow;
	color: #222;
	font-weight: bold;
}

ul#tag-toggle {
	padding: 8px 8px 0px 8px;
	margin: 0px 8px 4px 8px;
	border-bottom: 2px solid #666;
}
#tag-toggle li {
	margin-left: 10px;
	list-style: none;
	display: inline-block;
}
#tag-toggle a {
	color: #666;
	display: block;
	padding: 0px 8px 0px 8px;
	border: 1px solid #333;
	border-radius:5px 5px 0px 0px;
}
#tag-toggle a:hover {
	color:#CCC;
	background-color:#666;
	border: 1px solid #666;
}
#tag-toggle>* a.selected {
	color:#CCC;
	background-color:#666;
	border: 1px solid #666;
	font-weight: bold;
}